package com.yunfei.api.v2.qiuzhi.service;

import com.yunfei.api.v2.qiuzhi.result.QiuZhiResult;
import com.yunfei.api.v2.user.valid.QiuZhiValid;
import com.yunfei.api.v2.user.valid.TokenForm;
import com.yunfei.bo.SkQuesDtlBo;
import com.yunfei.common.json.result.ResultModel;
import org.springframework.validation.BindingResult;

import javax.validation.Valid;
import java.util.List;

public interface QiuZhiCenterService {
     boolean ValidQiuZhiParam(BindingResult bindingResult, ResultModel resultModel) ;
     List<QiuZhiResult> getQiuZhiResults(int pageNow, int pageSize, SkQuesDtlBo skQuesDtlBo);
     boolean zuixin(@Valid QiuZhiValid requestParam, BindingResult bindingResult, ResultModel resultModel) ;
     boolean tuijian(@Valid QiuZhiValid requestParam, BindingResult bindingResult, ResultModel resultModel);
     boolean wode(@Valid QiuZhiValid requestParam, BindingResult bindingResult, @Valid TokenForm tokenForm, ResultModel resultModel);
}

